-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(react): update to support react 17 #1563
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
@@ -515,6 +515,9 @@ test('should prevent default with enter keypress and open listbox', () => { | |||
// rtl doesn't let us mock preventDefault | |||
// see: https://github.com/testing-library/react-testing-library/issues/572 | |||
event.preventDefault = preventDefault; | |||
if (type === 'focus') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes here I suspect are related to testing-library/user-event#592, but we're not using user-event
but are calling fireEvent
due to specific limitations with testing library.
Also closes #1473 |
AHHHHHHH auto completion got me and I didn't check the ticket that this one was supposed to close 😅 |
ae83efa
to
e4d12af
Compare
closes #1473
The
Modal
component works fine with the Cauldron 17 upgrade.modal-component.mov
TODO: